<template>
  <div class="Main">
    <TabBar>
      <el-row type="flex" class="row-bg" justify="center">
        <el-col :span="8"><div class="grid-content bg-purple" >
          <TabBarItem><img class="image" alt="" src="~assets/img/logo.png"></TabBarItem>
        </div>
        </el-col>
        <slot name="1"></slot>
        <slot name="2"></slot>
      </el-row>
    </TabBar>
  </div>
</template>

<script>
import TabBar from "../common/tabbar/TabBar";
import TabBarItem from '../common/tabbar/TabBarItem';
export default {
  name: "MainTabbar",
  components:{
    TabBar,TabBarItem
  },

}
</script>

<style scoped>
.Main{
  flex: 1;
  text-align: center;
  height: 49px;
}
.image{
  top: 0px;
  left: 0px;
  position: absolute;
  z-index: 2;
  width: 60px;
  height: 60px;

}

.bg-purple {
  position: fixed;
  left: 0;
}
.row-bg {
  padding: 0 0;
  flex: 1;
}
</style>
